<html>
<body>

<script type="text/javascript">
var d=new Date ();
var time=d.getHours();

if (time>10)
{
document.write("Good afternoon");
}

</script>


</body>
</html>
